package active

import (
	"github.com/hwcer/cosgo/registry"
	"github.com/hwcer/yyds/context"
)

func init() {
	Register(&active{})
}

type active struct {
}

func (this *active) Caller(node *registry.Node, handle *context.Context) interface{} {
	f := node.Method().(func(*active, *context.Context) interface{})
	return f(this, handle)
}

/**
 * @name getActive
 * @param int cid 数据类型
 * 获取活动数据
 */
func (this *active) GetActive(c *context.Context) interface{} {

	return []any{}
}
